<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="../../../attr.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html>
<html>
<head>

<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${ctx}/css/sapar.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/css/common.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/css/kkpager_blue.css" />
<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
<script type="text/javascript" src="${ctx}/js/sapar.js"></script>
<script type="text/javascript" src="${ctx}/js/WdatePicker.js"></script>
<script type="text/javascript" src="${ctx}/assets/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/js/kkpager.min.js"></script>
<script type="text/javascript" src="${ctx}/assets/laydate/laydate.js"></script>
<script type="text/javascript" src="${ctx}/js/mask.js"></script>
<title>灭菌开始</title>
<style type="text/css">
#lefttable{
height:300px;
}
.xuanzhong{
color: red;
}
#tb{
height:250px;
}
#second{
width:50%;
height:150px;
border:1px solid  #bdd0db;

}
#three{
height:100%;
margin-top:-150px;
}
th{
text-align: center;
}
td{
text-align: center;
}
</style>
</head>

<body>
            <div class="subfiled clearfix">
                <h2>设备配置</h2>
            </div>
            <div class="table">
                <table id="tpaTable">
                    <thead>
                        <tr> 
                        	<th>包条码</th>
                        	<th>包名称</th>
                        	<th>灭菌方式</th>
                        	<th>灭菌人</th>
                        	<th>灭菌开始时间</th>
                        	<th>设备名称</th>
                        </tr>
                    </thead>
                    <tbody id="tpaTableBody">
                        <c:if test="${packageImformations == null || packageImformations == '' }">
                            <tr class="no-data product"><td colspan="10" style="color: red">暂时没有数据</td></tr>
                        </c:if>
                    	<c:if test="${packageImformations !=null }">
                    		<c:forEach items="${packageImformations}" var="peibao">
                    		<tr class="baomingxi">
                    			<td>${peibao.packageTiaoma }</td>
                    			<td>${peibao.tbPackageMuban.packageName }</td>
                    			<td>${dictmap[peibao.tbPackageMuban.packageMiejunFangshi+0].dictName }</td>
                    			<td>${emmap[peibao.miejunMeijunrenTiaoma] }</td>
                    			<td><fmt:formatDate value="${peibao.miejunKaishiTime }"
									type="date" pattern="yyyy-MM-dd HH:mm:ss" /></td>
								<td>${equipMap[peibao.miejunShebeiTiaoma+0].equipName }</td>
                    		</tr>
                    		</c:forEach>
                    	</c:if>
                    </tbody>
                </table>
            </div>
</body>
<script type="text/javascript">
function showmingxi(id,name){
	layer.open({
		  type: 2,
		  title: name+'包明细',
		  maxmin: true,
		  shadeClose: true, //点击遮罩关闭层
		  area : ['700px' , '430px'],
		  content: '${ctx}/miejun/findQixieList.do?id='+id+"&name="+name
	});
}
</script>
</html>